cmake_minimum_required(VERSION 3.5.1)

add_library( open_space_roi_decider  open_space_roi_decider.cc  )
target_link_libraries( open_space_roi_decider
planning::planning_context
planning::planning_gflags
decider_base
)


add_library( open_space_pre_stop_decider  open_space_pre_stop_decider.cc )
target_link_libraries( open_space_pre_stop_decider
planning::reference_line_info
planning::common_lib
planning::util_lib
decider_base
)


add_library( open_space_fallback_decider  open_space_fallback_decider.cc )
target_link_libraries( open_space_fallback_decider
common::vehicle_state_provider
planning::planning_context
planning::planning_gflags
decider_base
)






install(TARGETS open_space_roi_decider
open_space_pre_stop_decider
open_space_fallback_decider

        EXPORT  apollo-export
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib
        RUNTIME DESTINATION bin
        INCLUDES DESTINATION .
        )